import requests
import json,time
data = [
    {
        "metric":"cpu.util",
        "endpoint":"172.168.32.28",
        "timestamp":2159733668,
        "step":10,
        "value":1,
        "tags":"/api/transfer",
        "extra":"data to collector"
    }
]

url = 'http://172.16.32.28:2080/api/collector/push'
req = requests.post(url,data=json.dump(data))
return req.text


